<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<title>管理首页</title>
<jsp:include page="/admin/head.jsp"></jsp:include>
</head>
<body>
	<jsp:include page="/admin/header.jsp"></jsp:include>
	<jsp:include page="/admin/left-menu.jsp"></jsp:include>

	<section>

		<nav aria-label="breadcrumb">
			<ol class="breadcrumb">
				<li class="breadcrumb-item"><a href="./admin/">管理首页</a></li>
				<li class="breadcrumb-item">系统中心</li>
				<li class="breadcrumb-item active">支付设置</li>
			</ol>
		</nav>

    <div class="container-sm mt-3">
      <div class="card p-3">
        		<form name="configForm"><input name="configKey" value="AlipayConfig" type="hidden"/>
        		<input name="action" value="update" type="hidden"/>
        			<div class="form-group row">
        				<label class="col-sm-2 col-form-label text-right">应用ID</label>
        				<div class="col-sm-10">
        					<input name="appId" type="text" class="form-control">
        				</div>
        			</div>
        			<div class="form-group row">
        				<label class="col-sm-2 col-form-label text-right">商户私钥</label>
        				<div class="col-sm-10">
        					<textarea name="merchantPrivateKey" style="height: 8em;" class="form-control"></textarea>
        				</div>
        			</div>
        			<div class="form-group row">
        				<label class="col-sm-2 col-form-label text-right">支付宝公钥</label>
        				<div class="col-sm-10">
        					<textarea name="alipayPublicKey" style="height: 6em;" class="form-control"></textarea>
        				</div>
        			</div>
        			<div class="form-group row">
        				<label class="col-sm-2 col-form-label text-right">异步通知页</label>
        				<div class="col-sm-10">
        					<input name="notifyUrl" type="text" class="form-control">
        				</div>
        			</div>
        			<div class="form-group row">
        				<label class="col-sm-2 col-form-label text-right">同步通知页</label>
        				<div class="col-sm-10">
        					<input name="returnUrl" type="text" class="form-control">
        				</div>
        			</div>
        			<div class="form-group row">
        				<label class="col-sm-2 col-form-label text-right">签名方式</label>
        				<div class="col-sm-10">
        					<input name="signType" type="text" class="form-control">
        				</div>
        			</div>
        			<div class="form-group row">
        				<label class="col-sm-2 col-form-label text-right">字符编码</label>
        				<div class="col-sm-10">
        					<input name="charset" type="text" class="form-control">
        				</div>
        			</div>
        			
        			<div class="form-group row">
        				<label class="col-sm-2 col-form-label text-right">支付宝网关</label>
        				<div class="col-sm-10">
        					<input name="gatewayUrl" type="text" class="form-control">
        				</div>
        			</div>
        			
        			
        			<div class="form-group row">
        				<div class="col-sm-10 offset-2">
        					<button class="btn btn-danger">更新配置</button>
        				</div>
        			</div>
        			
        		</form>
      </div>
      
    </div>
		<script type="text/javascript" src="admin/config.js"></script>
	</section>
	<jsp:include page="/admin/footer.jsp"></jsp:include>

</body>
</html>

